<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Webpack</title>
  <style>
    body{
      background-image: url(bg.jpeg);
      background-size: cover;
    }
  </style>
</head>
<body>
  <div class="container">
    <h1><%= htmlWebpackPlugin.options.title %></h1>
  </div>
  <script src="jquery.min.js"></script>
  <script>
    var $body = $(document.body)
    console.log($body)
  </script>
</body>
</html>